home *** CD-ROM | disk | FTP | other *** search
- Path: kearneymac.appsig.com!user
- From: larry_kearney@appsig.com (Lawrence Kearney)
- Newsgroups: comp.lang.c
- Subject: Re: HELP NEEDED: Passing input to an already running program.
- Date: Fri, 12 Jan 1996 07:53:00 -0700
- Organization: Applied Signal Technology
- Message-ID: <larry_kearney-1201960753000001@kearneymac.appsig.com>
- References: <30F5BFB6.75CF@cnsunix.albany.edu>
- NNTP-Posting-Host: kearneymac.appsig.com
-
- > I am writing an application that will "launch" another program called
- > irc. The problem is I need to pass input to irc once I invoke it from
- > the original program. IRC will be invoked using the funtion system().
- > Once irc is called it takes input from the keyboard. This is what I have
- > tried so far:
-
- You don't say which OS you are running your applications under but I
- assume that it is Unix. If so, you could try using sockets. This isn't the
- forum in which to educate you about them but think of them as a pipe into
- which you stuff data at one end and it is pulled out at the other. You can
- set them up so they can be used in either a synchronous or asynchronous
- mode. Look up how to use them in your system documentation.
-
- --
- Larry Kearney | "You want fries with that?"
- Applied Signal Technology |
- larry_kearney@appsig.com |
-